package org.pybaldaj.gui;


import javax.swing.JFrame;

import pybaldaj.client.clientPreferences.AppPreferences;


/**
 * @author g3n1uss
 *
 */
public class GUIClient {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//User preferences such as window size, server, username, password et al.
		//TODO: Implement AppPreferences
		AppPreferences prefs=new AppPreferences();
		prefs.loadPrefs();
		//TODO: loaded preferences transfer to loginFrame and mainFrame
		LoginFrame loginFrame=new LoginFrame();
		loginFrame.setVisible(true);
		//TODO: if in login window was pressed "Exit" next code doesn't run
		AppFrame mainFrame=new AppFrame();
		mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		mainFrame.setVisible(true);
		

	}

}
